<!DOCTYPE HTML>
<html>
<head>
<title>Estevez Seguros</title>
<script type="text/javascript" src="/seguros/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/seguros/js/jquery.tmpl.js"></script>
<script src="/seguros/js/ui/jquery.ui.core.js"></script>
<script src="/seguros/js/ui/jquery.ui.widget.js"></script>
<script src="/seguros/js/ui/jquery.ui.position.js"></script>
<script src="/seguros/js/ui/jquery.ui.autocomplete.js"></script>
<script src="/seguros/js/bootstrap/bootstrap.js"></script>
<link rel="stylesheet" href="/seguros/css/seguros.css" />
<link rel="stylesheet" href="/seguros/css/themes/base/jquery.ui.all.css">
<link rel="stylesheet" href="/seguros/css/bootstrap/css/bootstrap-responsive.css" />
<link rel="stylesheet" href="/seguros/css/bootstrap/css/bootstrap.css" />

<script type="text/javascript">
	$(function() {
		$("boton_crearContacto").click(function() {
			console.log("entra!!!");
                
			$.ajax({
				type : "POST",
				// 			      url: "bin/process.php",
				data : "sofia!!!!!",
				success : function() {
					console.log("entra!!!");
				},
				error: function() {
					console.log("error!!!");
				},
                complete: function() {
                    console.log("complete!!!");
                }
			});
		});
	});
</script>

<style type='text/css'>
body {
	margin-top: 40px;
	text-align: center;
	font-size: 14px;
	font-family: "Lucida Grande", Helvetica, Arial, Verdana, sans-serif;
}
</style>
<body>

    <div class="container-fluid">
        <div class="row-fluid">
            <div class="span2">
                <!--Sidebar content-->
                <div class="well" style="padding: 8px 0;">
                    <ul class="nav nav-list">
                        <li class="active"><a href="/seguros/"><i class="icon-white icon-home"></i> Home</a></li>
                        <li><a href="/seguros/contactos.jsp"><i class="icon-book"></i> Contactos</a></li>
                        <li><a href="/seguros/calendario.jsp"><i class="icon-calendar"></i> Calendario</a></li>
                        <li class="nav-header">Configuraci&oacute;n</li>
                        <li><a href="#usuarios"><i class="icon-user"></i> Usuarios</a></li>
                        <li><a href="#settings"><i class="icon-cog"></i> Settings</a></li>
                        <li class="divider"></li>
                        <li><a href="#help"><i class="icon-flag"></i> Help</a></li>
                    </ul>
                </div>
            </div>
            <div class="span10">
                <ul class="nav nav-pills">
                    <li><a href="/seguros/contactos.jsp">Consultar</a></li>
                    <li class="active"><a href="/seguros/contactos_agregar.jsp">Agregar</a></li>
                    <li><a href="/seguros/contactos_editar.jsp">Editar</a></li>
                </ul>

                <form class="form-horizontal">

                    <div class="control-group string required">
                        <label class="string required control-label" for="contacto_nombre"><abbr title="required">*</abbr> Nombre</label>
                        <div class="controls">
                            <input class="string required span6" id="contacto_nombre" name="contacto_nombre" size="50" type="text">
                        </div>
                    </div>

                    <div class="control-group string required">
                        <label class="string required control-label" for="contacto_apellido"><abbr title="required">*</abbr> Apellido</label>
                        <div class="controls">
                            <input class="string required span6" id="contacto_apellido" name="contacto_apellido" size="50" type="text">
                        </div>
                    </div>

                    <div class="control-group string required">
                        <label class="string required control-label" for="contacto_email"><abbr title="required">*</abbr> Email</label>
                        <div class="controls">
                            <input class="string required span6" id="contacto_email" name="contacto_email" size="50" type="text">
                        </div>
                    </div>

                    <div class="form-actions" style="background-color: transparent; border-top: none;">
                        <input class="btn btn-primary" name="boton_crearContacto" id="boton_crearContacto" type="submit" value="Crear contacto">
                        <input class="btn btn-danger" name="borrar" type="reset" value="Cancelar">
                    </div>

                </form>


            </div>
        </div>
    </div>


</body>
</html>
